//
//  MSubOrder.h
//  RRQS
//
//  Created by kyjun on 16/3/24.
//
//

#import <Foundation/Foundation.h>

@interface MSubOrder : NSObject

-(instancetype)initWithItem:(NSDictionary*)item;
-(instancetype)initWithOrder:(NSDictionary*)item;

/**
 *  记录编号(item_id)
 */
@property(nonatomic,strong) NSString* rowID;
/**
 *  主订单编号(main_id)
 */
@property(nonatomic,strong) NSString* orderID;
/**
 *  子订单编号(order_id)
 */
@property(nonatomic,strong) NSString* subOrderID;
/**
 *  支付金额 (food_amount)
 */
@property(nonatomic,strong) NSString* payMoney;
/**
 *  下单时间 (addtime)
 */
@property(nonatomic,strong) NSString* createDate;
/**
 *  订单状态 (status)
 */
@property(nonatomic,assign) EnumExpressStatus status;
/**
 *  用户编号 (uid)
 */
@property(nonatomic,strong) NSString* userID;
/**
 *  抢单状态1：未抢，2：已抢
 */
@property(nonatomic,strong) NSString* sendStatus;
/**
 *  店铺名称(site_name)
 */
@property(nonatomic,strong) NSString* storeName;
/**
 *  店铺地址
 */
@property(nonatomic,strong) NSString* storeAddress;
/**
 *  店铺经度
 */
@property(nonatomic,strong) NSString* lng;
/**
 *  店铺维度
 */
@property(nonatomic,strong) NSString* lat;
/**
 *  用户的坐标 例如：“112.13558972,32.03696137”
 */
@property(nonatomic,strong) NSString* phoneAddress;
/**
 *  店铺距离
 */
@property(nonatomic,strong) NSString* location;


#pragma mark =====================================================  
/**
 *  快递ID
 */
@property(nonatomic,strong) NSString* empID;
/**
 *  收货人姓名
 */
@property(nonatomic,strong) NSString* userName;
/**
 *  收货人电话
 */
@property(nonatomic,strong) NSString* userPhone; 

/**
 *  取货时间
 */
@property(nonatomic,strong) NSString* getTime;
/**
 *  送达时间
 */
@property(nonatomic,strong) NSString* sendTime;

@end
